<link href="../addons/jy_weishop/custom/templates/mobile/coupon/common/style.css" rel="stylesheet" /><div class="fui-page">
  <div class="fui-content">
    <div class="share_body">
      <div class="share_main">
        <div class="share_head_img">
          <img src="../addons/jy_weishop/custom/templates/mobile/coupon/img/bg7s.png" alt="" width="100%"></div>
        <div class="content_bg">
          <div class="share_title">
            <span ng-if="pagedata.list==''" class="share_title_text" style="font-size: 0.95rem">
              <b>抱歉，活动已过期</b>
            </span>
            <span ng-if="pagedata.list" class="share_title_text" style="font-size: 0.95rem">
              <b>恭喜你，获得了{{pagedata.total}}张优惠券！</b>
            </span>
          </div>
          <div class="content_list">
            <ul>
              <li ng-if="pagedata.list==''" style="width:100%;height:10rem;">
                <div style="width:50%;height:100%;text-align: center;font-size: 0.65rem;color:#999;margin:0 auto;padding-top: 1rem;padding-bottom:1rem">
                  <img src="../addons/jy_weishop/custom/templates/mobile/coupon/img/overdue.png" alt="" width="100%" height="100%"></div>
              </li>
              <div ng-if="pagedata.list" ng-repeat="item in pagedata.list">
                <li ng-if="item.backtype==0">
                  <div class="conpou">
                    <div class="list_content1 text-center">
                      <div style="white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#CCA865;line-height: 2rem;height:60%;">
                        <span style="font-size: 1.5rem">{{item.deduct}}</span>
                        <span style="font-size: 0.5rem">元</span></div>
                      <div ng-if="item.enough==0" style="white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#A5A5A5;font-size: 0.5rem;line-height: 1.2rem;height:40%;">无金额门槛</div>
                      <div ng-if="item.enough!=0" style="white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#A5A5A5;font-size: 0.5rem;line-height: 1.2rem;height:40%;">满{{item.enough}}元可用</div>                      <!--<span>{php echo intval($cp['deduct'])}</span><span style="font-size: 0.8rem">元</span>--></div>
                    <div class="modify"></div>
                    <div class="list_content2 text-left">
                      <div style="white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#373737;font-size: 0.8rem">{{item.title}}</div></div>
                  </div>
                </li>
                <li ng-if="item.backtype==1">
                  <div class="conpou">
                    <div class="list_content1 text-center">
                      <span style="font-size: 1.5rem">{{item.discount}}</span>
                      <span style="font-size: 0.5rem">折</span></div>
                    <div class="modify"></div>
                    <div class="list_content2 text-left">
                      <div style="white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#373737;font-size: 0.8rem">{{item.title}}</div></div>
                  </div>
                </li>
                <li ng-if="item.backtype==2">
                  <div class="conpou">
                    <div class="list_content1 text-center">
                      <div style="white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#CCA865;line-height: 2rem;height:60%;">
                        <span style="font-size: 1.5rem" ng-if="item.backmoney!='' && item.backcredit!='' && item.backredpack!=''">{{item.backredpack}}</span>                        <span ng-if="item.backmoney!='' && item.backcredit!='' && item.backredpack!=''" style="font-size: 0.5rem">元</span>                        <span style="font-size: 1.5rem" ng-if="item.backmoney!='' && item.backcredit!='' && item.backredpack==''">{{item.backmoney}}</span>                        <span ng-if="item.backmoney!='' && item.backcredit!='' && item.backredpack==''" style="font-size: 0.5rem">余额</span>                        <span style="font-size: 1.5rem" ng-if="item.backmoney!='' && item.backcredit=='' && item.backredpack!=''">{{item.backredpack}}</span>                        <span ng-if="item.backmoney!='' && item.backcredit=='' && item.backredpack!=''" style="font-size: 0.5rem">元</span>                        <span style="font-size: 1.5rem" ng-if="item.backmoney=='' && item.backcredit!='' && item.backredpack!=''">{{item.backredpack}}</span>                        <span ng-if="item.backmoney=='' && item.backcredit!='' && item.backredpack!=''" style="font-size: 0.5rem">元</span>                        <span style="font-size: 1.5rem" ng-if="item.backmoney=='' && item.backcredit=='' && item.backredpack!=''">{{item.backredpack}}</span>                        <span ng-if="item.backmoney=='' && item.backcredit=='' && item.backredpack!=''" style="font-size: 0.5rem">元</span>                        <span style="font-size: 1.5rem" ng-if="item.backmoney=='' && item.backcredit!='' && item.backredpack==''">{{item.backcredit}}</span>                        <span ng-if="item.backmoney=='' && item.backcredit!='' && item.backredpack==''" style="font-size: 0.5rem">积分</span>                        <span ng-if="item.backmoney!='' && item.backcredit=='' && item.backredpack==''">{{item.backmoney}}</span>                        <span ng-if="item.backmoney!='' && item.backcredit=='' && item.backredpack==''" style="font-size: 0.5rem">余额</span></div>                      <div style="white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#A5A5A5;font-size: 0.5rem;line-height: 1.2rem;height:40%;">
                        <div ng-if="item.enough==0" style="white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#A5A5A5;font-size: 0.5rem;line-height: 1.2rem;height:40%;">无金额门槛</div>                        <div ng-if="item.enough!=0" style="white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#A5A5A5;font-size: 0.5rem;line-height: 1.2rem;height:40%;">满{{item.enough}}元可用</div></div>                    </div>
                    <div class="modify"></div>
                    <div class="list_content2 text-left">
                      <div style="white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#373737;font-size: 0.8rem">{{item.title}}</div></div>
                  </div>
                </li>
              </div>
              <div>
                <li ng-show="pagedata.list" style="width:100%;height:1rem;">
                  <div style="width:100%;height:25%;text-align: center;line-height: 1rem;font-size: 0.65rem;color:#999">优惠券已放入你的账户</div></li>
                <li ng-show="pagedata.list" style="width:100%;height:4.2rem;">
                  <div style="width:50%;height:100%;text-align: center;font-size: 0.65rem;color:#999;margin:0 auto;margin-top: 1rem">
                    <img src="../addons/jy_weishop/custom/templates/mobile/coupon/img/get.png" alt="" width="100%" height="100%"></div>
                </li>
                <div></ul>
            <div ng-if="pagedata.list==''" class="share_button">
              <a href="javascript:;" ng-click="access_json('jy_weishop/index/')" class="external" data-nocache="true">
                <div class="button_c text-center">返回首页</div></a>
            </div>
            <div ng-if="pagedata.list" class="share_button">
              <a href="javascript:;" ng-click="access_json('jy_weishop/coupon.myindex/')" class="external" data-nocache="true">
                <div class="button_c text-center">立即查看</div></a>
            </div>
            </div>
            </div>
            <div class="bottom" style="text-align: center;line-height: 4rem"></div>
          </div>
        </div>
        <div class="share_img">
          <img src="../addons/jy_weishop/custom/templates/mobile/coupon/img/guide1.png" alt=""></div>
      </div>
    </div>
